package com.ctshk.rpc.order.ship.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/5/26
 */
@Data
@ApiModel("保单收据")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InsuranceReceiptDTO implements Serializable {

    @ApiModelProperty("产品ID")
    private Long productId;

    @ApiModelProperty("收据号码")
    private String receiptNumber;

    @ApiModelProperty("旅客姓名")
    private String passenger;

    @ApiModelProperty("組辦公司")
    private String agent;

    @ApiModelProperty("保單單號")
    private String insuranceNumber;

    @ApiModelProperty("訂單編號")
    private String orderNumber;

    @ApiModelProperty("受保天數")
    private Integer days;

    @ApiModelProperty("出發日期")
    private LocalDate depDate;

    @ApiModelProperty("產品/路線")
    private String productRoute;

    @ApiModelProperty("保险公司")
    private String insuranceCompany;

    @ApiModelProperty("保险计划")
    private String insurancePlan;

    @ApiModelProperty("保险起保时间")
    private LocalDate startDate;

    @ApiModelProperty("被保险人")
    private List<AssuredInfo> assuredList;

    @ApiModelProperty("合计")
    private BigDecimal totalAmount;

    @ApiModelProperty("電話號碼")
    private String contactMobile;

    @ApiModelProperty("發單日期")
    private LocalDate startInsuranceDate;

    @ApiModelProperty("付款方式")
    private String payWay;

    @ApiModelProperty("信用卡")
    private String cardNumber;
}
